find index of object in array javascript by id

visit shbcf.ru